/**
 * @author:cloud.lg
 * @date:2021.7.26
 * @description: 这里主要包含后台接口的定义 公共区域
 */
import {get, post, fetch } from './fetch'

// 获取报关单选择项
export const csbasecommonAll = (params) => fetch('/csbasecommon/params/all', params, 'query', 'get')

// 获取报关单数
export const getCustomsInfo = (params) => fetch('/business/decl/make/get', params, 'query', 'get')

// 搜索商品
export const searchGoods = (params) => fetch('/business/decl/make/searchGoods', params, 'query', 'get')

// 报关单模板
export const maketplAll = (params) => get('/base/maketpl/all', params)

// 所属主体
export const mainbodyAll = (params) => fetch('/platform/mainbody/all', params, 'query', 'get')

// 角色选项
export const roleAll = (params) => fetch('/system/role/all', params, 'query', 'get')

// 部门选项
export const departmentAll = (params) => fetch('/system/department/all', params, 'query', 'get')

// 省
export const provinceAll = (params) => fetch('/common/province', params, 'query', 'get')

// 市
export const cityAll = (params) => fetch('/common/city', params, 'query', 'get')